<?php

namespace IDock\Insurance\ZFIC\Request;

use IDock\Insurance\ZFIC\Response\CommonResponse;

class GetOrderNoRequest extends AllZFICRequest
{

    protected $urlTip = '交易流水号获取接口';

    protected $route = 'order/api/order/tradeNo';

    protected $response = CommonResponse::class;

    protected $businessNo = '';

    protected $proposalNo = '';

    public function generate(): array
    {
        $param = [
            "businessNo" => $this->businessNo,
            'proposalNo' => $this->proposalNo,
            'issUserCode' => ''
        ];
        return $param;
    }

    /**
     * @param string $businessNo
     */
    public function setBusinessNo(string $businessNo): void
    {
        $this->businessNo = $businessNo;
    }


    /**
     * @param string $proposalNo
     */
    public function setProposalNo(string $proposalNo): void
    {
        $this->proposalNo = $proposalNo;
    }



}